package com.shop.billing.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shop.billing.dao.BillingDAO;
import com.shop.billing.vo.BillingVO;

@Service
public class BillingServiceImpl implements BillingService {

	@Autowired
	private BillingDAO dao;
	
	@Override
	public int isUserCnt(BillingVO.BillingItem memberItem) {
		
		return dao.isUserCnt(memberItem);
	}
	
	@Override
	public int addMember(BillingVO.BillingItem memberItem) {
		// TODO Auto-generated method stub
		return dao.addMember(memberItem);
	}

}
